package com.szrt.java.day20170103.demo06;

public class CalDaoImpl implements CalDao {

	@Override
	public int add(int x, int y) {
		return x+y;
	}

	@Override
	public int mul(int... args) {
		
		int mul = 1;
		for(int x:args){
			mul = mul * x;
		}
		return mul;
	}

}
